﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpErp.Data.Common.Entity;

namespace SharpErp.UnitTest
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            var client = Service.Client.ServiceWarpper.GetService();
            client.GetAllItemClass();
        }

        [TestMethod]
        public void TestKv()
        {
            var client = Service.Client.ServiceWarpper.GetService();
            SharpErp.Common.Util.Logger.GetLog().Error(client.GetSysItemFirstClass());;
            client.AddItemFirstClass(new ItemFirstClass() {Name = "test"});
        }
    }
}
